package java.pacote;

import java.classe.TokensSource;

public class Pacote implements TokensSource {
	String pacote=null;
	public Pacote(String pacote) {
		this.pacote=pacote;
	}
	public String codigoFonte() {
		return PACKAGE+ESPACO+this.pacote;
	}
	public String getNome() {
		return pacote;
	}
	
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final Pacote other = (Pacote) obj;
		if (this.pacote == null) {
			if (other.pacote != null)
				return false;
		} else if (!this.pacote.equals(other.pacote))
			return false;
		return true;
	}
	
	

}
